# $Id: PKGBUILD 2115 2008-05-25 19:25:26Z thayer $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>

pkgname=archlinux-themes-kdm
pkgver=1.4
pkgrel=3
pkgdesc="Arch Linux branded KDM greeter themes for KDE"
arch=('any')
url="http://www.archlinux.org/"
license=('CCPL:cc-by-sa')
source=("ftp://ftp.archlinux.org/other/artwork/${pkgname}-${pkgver}.tar.gz"{,.sig})
md5sums=('7469d94881c323fb0535deef5ca64e83'
         '420e2c16a5e7f762dc4fb98b0da0873e')

package() {
  cd "${srcdir}"/$pkgname-$pkgver
  for t in simplyblack soft-grey; do
    install -d "${pkgdir}"/usr/share/apps/kdm/themes/archlinux-$t
    install -Dm644 archlinux-$t/{AUTHORS,COPYING,KdmGreeterTheme.desktop,TRADEMARKS,archlinux.png,background.png,kdm.xml,screenshot.png} \
      "${pkgdir}"/usr/share/apps/kdm/themes/archlinux-$t
  done
}
